package com.example.bsxk.dto;

import com.example.bsxk.entity.User;

import java.util.Date;

public class ZyxStudentChoosedThesis {
    private String title;
    private int year;


    private User user;
    private Date created;
    private String content;
    private int count;
    private String status;

    public int getYear() {
        return year;
    }

    public void setYear(int year) {
        this.year = year;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public Date getCreated() {
        return created;
    }

    public void setCreated(Date created) {
        this.created = created;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("ZyxStudentChoosedThesis{");
        sb.append("title='").append(title).append('\'');
        sb.append(", year=").append(year);
        sb.append(", user=").append(user);
        sb.append(", created=").append(created);
        sb.append(", content='").append(content).append('\'');
        sb.append(", count=").append(count);
        sb.append(", status='").append(status).append('\'');
        sb.append('}');
        return sb.toString();
    }
}
